bcrypt = require('bcrypt')
ROUND = 12

module.exports = (password)->
    salt = await bcrypt.genSalt(ROUND)
    return await bcrypt.hash(password, salt)
